fixed duplicate login view showing up