Added framework for user registration