when submitting answer, session gets closed and user gets redirected properly