Added user_id check on message creation
Added indexes to messages to improve performances (in prevision of a much bigger db)
Merge branch 'personal_messages'