Changed Login from a Model to an Adapter.
Login / Auto logout now complete