Adding implementation of userProfile controller and corresponding tests