result_register improved.
login method changed to post.