added login/registration features