Implement prototype for login page