refactors user code
refactors home page and adds content for signed in user