Changed role to boolean and started location controller