Topic redirect login

ready for code review