redirect after login to contents, not pages