Added Connection to DB check for Login screen