tried to clean up code, forgotten password and reset pw in router still need clean up