Updated register & login