added new login view to sample app