Adding register and login system