refactoring css and js. Changed/fixed avatar