Login authentication working, validates before edit/delte