second-commit of menaa architecture(added oauth 2.0 security)