Added profile link. Fixed database issues in dev mode. Made nickname editable.