changed loggedin flag to be private variable in login object
oh yeah remembered why that wont work
factored out searching a user to a private function
add flag for user already exsists reg failure
finished basic login i think