changed schema in mongoose, fixed error with username