added logout & notifications