Added Register module
Changes to register module