Fixing conditional that checks if server is secure when image or user page is
Merge pull request #6 from JoshKoberstein/master

Modified if statement