Error during register and login are shown on the pages