Created notifications and implemented functions in the api that use it