removed redundant code from welcome controller