Server does not need to be final in the redirect function