Login/Register fix passing username and password