add extra attribute for register, session_user not found will no longer raise error page