Login and Register done.