change model: username no need to be unique and add init function for model