functioning frontend login, ready to move onto next parts