checked and amended controller tests after login page