Made login page actually log user in