checking if user is registered already