Began updating log in to come before loading of other pages
Restructured app so that pages load after log in