async fn post_wifi_credentials( __arg0: Json<WifiCredentials>, ) -> Result<(), Error>
receives wifi credentials from the frontend, saves them to storage and reboots