First functional version of login notifier