Finished with register & login functionality