Refactored routing to use UI Router