Flow of the main page is working fine