notifications route

with various fixes
initial notifications logic