Added login and registration. Must remove user id bug.