Work on authentication on the frontend