Working user login

need to add view.