attempting to correct the login re-direct issue, failed.
tidying from previous commit