Update app/models/announcement.rb

Add user_id validates presence