Update with register and new login working