Debugging for login notifications
Fixed compile errors