updated user and session resources, updated tests, migrated db