add a warning message to notify user to log in