Made formatting changes and fixed more bugs with not signed in users