User register and login system complated