bugfix & refact oauth code
refine picture thumb version cropping