added json query for email and username"
finished login/create logic to work with sessions