Add Authentication and Split PHP Thumb and Image classes