added user registration, login, logout forms, fixed tests, substituted user in for person in foreign keys, migrated db