Creating town model, getTowns API function and some functions on users model