Fixes #4 - Checks strpos() return value correctly.

One of the parenthesis was in the wrong place so the check didn't work.

(If ```strpos()``` returns false, it mean the needle was not found from the haystack.)

I suppose the ```elgg_is_logged_in()``` can be left there even though it is not really needed.