Login State

Should connect to a server or display an error message if it cannot.
Pretty much just wanted to commit what I have so far before I go to bed.