made the samples table editable for authorised users only
style clean-up