updated logout page and redirect
note entry and prescription entry ajax