Profile image cached using sqlite database

Performance improvement - Every time user logins in, image is got
through a get request to the server which is costly (png image which
ignores compression). Created database storing image path with
username. Random no to store image is still left.