fix error in utils authentication of users