implement use of session helper to check if user signed in and change header

ran into issues with some of the authentication since tried to add some new encryption that was meant only for rails 4