Adding more security to server methods.