LoginView validate with database search