login and register

working login and register. working on userpage
edit info,logout

added functionality to edit info and logout