changes to login & register