Popover and modal on login