Started working on user creation function