Added logout feature to erase session identifier from database
Added setup for messages table