Updated frontend of authentication