added login functionality
finished most of the login/logout/signup functionality