fixed views in users and locations
added fields to locations