Add getCreds in Main.hs