changing login with  data adjusting with new form names and ids, and adapt to get user data by email, not username/name