Modified the LoginController and LoginFilter to allow custom redirection after login.