Implementing custom views for login