refact user controller navigate