fix home page bug
working devise tests and income calcs