uniq in schema and logged in redirects