Implemented user notifications. Improved friend crud