improved authorization

added getProperties method, changed ALSHrequest function