Added functionality for registration of user
additional commit