Changed Login to use he db
Login Finished and connected to db