First tmplate login-register

This one version to login-register and change the database