refactored layout view

Added some indenting to the markup so you can see what's going on. Moved sign up link so it only displays when you're logged out