added create user functionality