Just simple modifications to register and login apps