fixed likes and added code for notifications