adding sha1
restful auth component