users can now register, log in, log out, and the layout changes