Base Login functionality added

Also initial connection to server added