Added feature to make sure the user has to register once only