Actually fixed login system