Login now fully working, with DB interaction