added new constructor for notifications in login-window