added login/logout capabliity.  fully functional yay.