Redundant session_start() and refresh to referer for registerManager.