removing database.yml and and query to get total registered