Fixed login & signup back end verification

Next thing to be done is back end of application.php