fixed login bug,  implemented thumbnails and full size