fixed npm start
fixed non-logged-in bug