messageController and friendController bugs