finished simple login system