Updated frontend to new authentication system.