correction function
login & signup