fixing user end points
adding api/ to routes