removed unneeded trim() calls.
Bug Fix: removed "$this" and replaced with "self" ... also, cannot use array as variable function call.
updated for Engine4.0 Changes.
defaults to using login-4.0.php instead of 3
Merge branch 'master' of https://github.com/wvulibraries/engineAPI