added login error msg
finished user login