fixed the 500 server error that was happening with the /login and /register - yay
now I just need to fix the redirect error that occurs now. hopefully it'll be easier.