Add method that will authorize user

[#91]