Reference context aware login