fixed bugs (constant UID in challenge check; added link to register page; passwords get hashed (currently md5 - I will fix that soon))