Added new functionality for creating users client side