Refactor web user component