Mimicking a login system