implemented create new user hook using mongo as storage mechanism