Login to DB

Login now works with DB