Added connect to DB and login