Added some addditional documentation to the login method.