Streamline login and improve sync mechanism