adds create user functionality