Fixed errors in email_login module. Resolves #439. Also added script.object possibility as well as script.obj.