added feature so that after making account you move back to main page.