polish auth and add notification