update the frontend of the login page