Added functionality to create user