added the initial code
Cotains the functionality of login, registration, message sending , fetching the latest messages