make sure edit databases also has link
redirect to subject page after creating category