fixed a few things, added ip restrictions for retriving status & marking a message as read.