login function for wordpress

git-svn-id: http://hustoj.googlecode.com/svn/trunk@2240 19ab8b60-bd6c-11dd-baed-41e496641fac