before push notif controller