Added email checking to createUser
Added checks for existing users (TODO implement this)