using path to join to get correct path
renamed config to users
moved routes to lib dir and created unit tests