Added login notifications
Fixed compile errors