removed static use of function userExists()