Why didn't you keep your 'get_user_from_identifier' function? It seems to me that you could have changed what it returned. At any rate, if it's no longer useful, please remove it rather than commenting it out.