adding .c9revisions
implementing database and user methods