added user_id to applications table in schema via migration