follows Kevin's solutions for testing user controller. however database bug still not fixed. there are still 3 users when there shouldn't be any