update,continue to work on login function