changed uniquness constraint to proper column on user