fixed the update problem by using $set. also made the forms better-looking, added the logout