Fixes to Notes controller to handle auto assoctiating current user.