Some changes in the Register process and added the first things for the login