Bug fixes wifi detection and first time login