login view showed only once