merged code (yoshie&weini)

cookies doesn't work site-wide,
newtweet box dosen't work (u works, u.username doesn't),
needs documentation,
needs rae's code