Creating the login and register system with firebase