created an admin and login view