Added logic in create method and changed the home dir.