Added code for registerUser functionality.
Code written for Filter options