fixed routing problem and user global details