Here to write comments and fix bugs, and im all out of comments.  Fixed register link bug, logout bug and added some comments to explain user profile ajax.