Code to fix profile bug and products screen

Fixed profile bug and added code for tumbnail view of products