update random entries generator & login/logout redirect to last post / url etc