Cleaned up summary code a bit. Fixed login in top bar