added logging in of user