Updated frontend for authentication