Finished login and create new account functionality