some rafactoring
add methods for message and authorization notification