added logic to make pages redirect to signin if not signed in
spelling error. clean up.
start to testing