resolve user from ui.router