commented out statusMsg for now
refactored login to use dForm & assoc'd template
formatting
removed unused variables