updated login to look for shortcut