Styled the index view and add if stament to user