Working on api routing