Completed login and register - without DB and front end validation