add Message class
add logout functionality

to send Message use sendMessage function from DataBase class.