Cleaned up some stuff/Added security checks to some buttons to make sure the owner can only see the buttons