fixed issue with user auth