django server support, login url and redirect