set up some mongoose schemas, show login status on home page