Added Login Interface

-Login implemented.
-Read thread is now working. Send procedure working (for small
messages).