added chatroom functions
timestamps and db chatrooms