Added uniq
Set user_id => current_user.id
Added user object for testing to fix broken user.id