Merge pull request #2 from jamesyothers/master

Update authentication method and structure
reformatted offers for database interaction
messages working for one user