added try/except to method that fetches userid from portal db; new decorator to check auth against portal db