implementing frontend
adding unique constrain to graphs.name database