fixing functional tests of users controller