login/logout

got login/logout working with a vanilla django server. we need to
implement these functions in our server asap.