Added SSL. Added method based security.