Added user id to habits model