fix bug
fix bug of messageController and friendController
fix bugs of messageController and friendController