fixed layout bug for main menu right border
set user id to javascript cookie
set user role name to javascript cookie