Postgresql installation & configuration task failed?

I have completed the following steps

  1. Downloaded and installed postgres
  2. created db named kodekloud_db1
  3. created role / user named kodekloud_roy with superuser privileges
  4. changed the owner of the db to the created user
  5. granted all the privileges to the user to the DB
  6. alter the password to use the md5 hash generated
  7. changed the hba config file to use md5 instead of trust for both local and host

I am not sure what went wrong?