Cleaned up some of the code

Added formatting to favorites page.
Added code to hide register link from logged in users.