prevented back function once logged out