Logout added and image sizing bug fixed