nocase - added test cases and implementation for user endpoint