Removed copy/pasted code
Log in/out works, smarter file inclusion, auth expires w/ browser