small modifications for picture hover

and renaming variables
renaming variables and getCookie('username')