Fixed user auth issues