Updated login for linux/windows