Added session manager to handle the sessions of a user
Indentation
Changed maxwindow size to int
Added initial almost final commits for notifications