Fixing user auth