authentication added
added image fuctionality