Added Empty note catches, clean up code for configuring notes, also added catch in user if the token has not been set