refactoring code to remove if else statements
Adding in abort 500
Remove now-unneeded data param
Don't override form action with formaction
Move getlist comment, misc. cleanup
Merge pull request #428 from charltonaustin/refactor-methods

refactoring code to remove if else statements