Added draft user registration functions (need work)