Fixed a bug in re-direction to login page