improved authentication with angular route resolve