Updated front-end to use new authentication system.