user controller get user details test data has the invite flag