Added the home screen functionality