Ok so I ran security assist and it made the rules and I applied these to my button which I incorporated into my template. But I'm running into some problems.
First, when I complete the registration form, it takes me to the log in page and says "REGISTRATION COMPLETED SUCCESSFULLY, PLEASE LOG IN TO ACCESS THE SITE". However, my buttons already read "LOGOUT" and "ACCOUNT". It seems completing the registration logs the user in automatically.
Second, when I hit my "LOGOUT" button, it takes me to the log out page and says I was successfully logged out, but my buttons still read "LOGOUT" and "ACCOUNT" unless I either hit the log out button again or go to another page.