Updated front-end for new authentication system (prob. too many features for 1 commit)