adding front end login, needs password hashing added