Added checks for email and nickname already in use