creating login view