split is deprecated so use explode
tests for email confirmation

Does spit out an error page due to login redirect at the moment