Exported more functions
Added tests for findUser