Merge pull request #30 from jschiang/master

wrote memebership model
Merge pull request #32 from jschiang/master

forgot to add actual validations for private methods